package com.heima.music_player;

public class Song extends Music {

    public Song() {
    }

    public Song(String title, String artist) {
        super(title, artist);
    }

    @Override
    public void play() {
        System.out.println(getArtist() + "的歌曲" + getTitle() + "正在播放");
    }
    public void stop() {
        System.out.println(getArtist() + "的歌曲" + getTitle() + "停止播放");
    }
}
